Importing Libraries

Preparing Training and Test Sets

Creating the data loaders

The dataset is a set of x-RAY images of normal patients,patients having covid and patients having pneumonia.Hence this is a 3 class classification problem

Data Visualization

Training and Evaluation functions

Simple implementation of VGG

Training and testing

Learning Rate = 3e-5; Epoch = 1

Hence testing out the various learning rates I felt that a learning rate of 3e-5 showed significant improvement hence decided to use that for the rest of the models

Simple Implementation of Resnet Neural Network

Simple Implementation of Densenet Neural Network

Summary and Model Results evaluation

Since denset pre trained obtained the higest results we will use that for further analysis

Data Table for the training data </H4> The test and the validation dataset have 30 data each

Accuracy Table